// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import request from './request'

/**
 * @description 寻宠 -- 列表
 */
export function findPetListApi(data) {
  return request.get('/findPet/lst',data)
}

/**
 * @description 寻宠 -- 删除
 */
export function findPetDeleteApi(id) {
  return request.delete('/findPet/delete/'+id)
}


/**
 * @description 寻宠记录 -- 显示状态修改
 */
export function findPetShowApi(id,status) {
  return request.put('/findPet/findPetShow/'+id,{
    status
  })
}



/**
 * @description 寻宠记录 -- 显示状态修改
 */
export function findPetFindApi(id) {
  return request.put('/findPet/findPetFindStatus/'+id)
}


/**
 * @description 寻宠 -- 审核
 */
export function findPetStatusApi(id,data) {
  return request.put('/findPet/findPetStatus/'+id,data)
}




/**
 * @description 寻宠记录 -- 详情
 */
export function findPetDetailApi(id) {
  return request.get('/findPet/petDetail/'+id)
}


/**
 * @description 寻宠记录 -- 日志
 */
export function findPetRecordLogApi(data) {
  return request.get('/findPet/findPetRecordLog',data)
}



/**
 * @description 寻宠记录 -- 城市数据
 */
export function findPetcityListApi(data) {
  return request.get('/findPet/cityList')
}
